﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="detail.aspx.vb" Inherits="kitchenCompetition.detail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:DetailsView ID="DetailsView1" runat="server" 
        AutoGenerateRows="False" DataSourceID="dsDetail">
        <Fields>
            <asp:BoundField DataField="MealTitle" HeaderText="MealTitle" 
                SortExpression="MealTitle" />
            <asp:BoundField DataField="MealInfo" HeaderText="MealInfo" 
                SortExpression="MealInfo" />           
            <asp:ImageField>
            </asp:ImageField>
        </Fields>
    </asp:DetailsView>
    <asp:AccessDataSource ID="dsDetail" runat="server" 
        DataFile="~/App_Data/KitchenCompition.mdb" 
        SelectCommand="SELECT [MealTitle], [MealInfo], [MealRecipeId], [UserId], [Pic] FROM [MealInfo] WHERE ([UserId] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="UserId" QueryStringField="UserId" 
                Type="Int32" />
        </SelectParameters>
    </asp:AccessDataSource>
    <div style="text-align:center"><a href="http://www.webcounter.com">
<img border="0" src="http://www.webcounter.com/4d85e298b56c9/counter.png"/></a><br />
</div>
</asp:Content>
